<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="Description" content="Lines Perla." />
        <meta name="Keywords" content="Lines Perla" />
        <meta name="robots" content="ALL" />
        <meta http-equiv="imagetoolbar" content="no" />
        <meta name="author" content="You-n | Agenzia di comunicazione integrata e marketing non convenzionale" />
        <link rel="icon" href="<?php bloginfo('template_url'); ?>/img/favicon.ico" type="image/x-icon"/>
        <script type="text/javascript" src="http://fast.fonts.com/jsapi/72acd722-f27b-4432-9de3-e4c3c69b7432.js"></script>

        <title>
            <?php
            if (is_home()) {

                echo bloginfo('name') . ' - Home';
            } elseif (is_category()) {

                bloginfo('name');

                wp_title(' | ', true, '');
            } elseif (is_archive()) {

                echo 'Browsing Archives of';

                wp_title(' ', true, '');
            } elseif (is_search()) {

                echo 'Search Results for "' . $s . '"';
            } elseif (is_404()) {

                echo '404 - Page got lost!';
            } else {

                wp_title('-', true, 'right');

                bloginfo('name');

                echo ' | Lines Perla';
            }
            ?>

        </title>
        <link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('template_url'); ?>/style.css" />
        <link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('template_url'); ?>/style_html.css" />
        <!--[if IE 7]>

         <link href="css/ie.css" rel="stylesheet" type="text/css" />

                <link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('template_url'); ?>/css/ie.css" />

         <![endif]-->
        <script type="text/javascript"> 

            var _gaq = _gaq || []; 

            _gaq.push(['_setAccount', '']);

            _gaq.push(['_trackPageview']);

            (function() {

                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

            })();

        </script>

        <script src="<?php bloginfo('template_url') ?>/js/jQuery.js" type="text/javascript"></script>

        <script type="text/javascript" src="<?php bloginfo('template_url') ?>/js/jquery.blockUI.js"></script>
        <script type="text/javascript" src="<?php bloginfo('template_url') ?>/js/jquery.color.js"></script>
        <?php if (is_page('33') || is_page('incontinenza-urinaria') || is_page('informazioni-utili')) { ?>
            <script type="text/javascript" src="<?php bloginfo('template_url') ?>/js/jquery.cycle.all.js"></script>
        <?php } ?>
        <?php wp_head();
        ?>
    </head>
    <?php
    $classe = '';
    if (is_page('Home')) {
        $classe = "body-home";
    } else {
        $classe = "body-interni";
    }
    ?>
    <body class="<?php echo $classe; ?>">
     <div class="skipnav"><a href="#contenuti" title="Vai direttamente ai contenuti" accesskey="c">Vai ai contenuti</a><a name="contenuti"></a></div>
        <?php if (!is_page('Home')) { ?>
            <div id="container"> 
                <div id="container-header">
                    <div id="testata">
                        <div id="testata-logo">
                            <a href="<?php bloginfo('url') ?>" title="Torna in Home page"><img src="<?php bloginfo('template_url') ?>/img/logo_testata.png" alt="testata" /></a>
                        </div>
                        <h2 id="testata-claim">Risolve meglio il problema dell' odore</h2>
                    </div>
                    <div id="barra">
                        <ul>
                            <li class="<?php echo classe(get_permalink('11')) ?>"><a class="barra_domande" href="<?php echo get_indirizzo(get_permalink('11')) ?>" title="<?php echo chechTitle(get_permalink('11')) ?> Domande e Risposte">Domande e Risposte</a></li>
                            <li class="<?php echo classe(get_permalink('33')) ?>"><a class="barra_chisiamo" href="<?php echo get_indirizzo(get_permalink('33')) ?>" title="<?php echo chechTitle(get_permalink('33')) ?> Chi Siamo">Chi siamo</a></li>
                            <li class="<?php echo classe(get_permalink('40')) ?>"><a class="barra_contatti" href="<?php echo get_indirizzo(get_permalink('40')) ?>" title="<?php echo chechTitle(get_permalink('40')) ?> Contatti">Contatti</a></li>
                            <?php
                            $url = get_bloginfo('url') . '/';

                            if (is_page('Home')):

                                echo '<li class="attivo"><a class="barra_homepage" href="#" title="Sei nella Home page">Home</a></li>';

                            else: echo '<li><a class="barra_homepage" href="' . $url . '" title="Vai alla Home page">Home</a></li>';

                            endif;
                            ?>
                        </ul>
                        <?php if(is_user_logged_in()) {
                                global $user_ID; $loggato = get_userdata( $user_ID );
                                ?>
                            
                            <div id="utente-loggato">
                                <div id="user">
                                    <div>Ciao:  <?php echo $loggato->display_name; ?> </div>
                                </div>
                                <div id="esci">
                                   <?php echo '<a href="'. wp_logout_url( get_permalink() ).'/wp-login.php?action=logout" title="Esci da questo account">Esci</a>'; ?> 
                                </div>
                            </div>
                            <?php } ?>
                    </div>
                </div>     
                <h1 class="hidden">Lines Perla</h1>
                <h2 class="hidden"><?php echo wp_title('', true, ''); ?></h2>
                <div id="container-contenuti">
                    <div id="pulsantoni">
                        <ul>
                            <li class="<?php echo classe(get_permalink('37')) ?>"><a href="<?php echo get_indirizzo(get_permalink('37')) ?>" title="<?php echo chechTitle(get_permalink('37')) ?> Incontinenza Urinaria">Incontinenza Urinaria</a></li>
                            <li class="<?php echo classe(get_permalink('46')) ?>"><a href="<?php echo get_indirizzo(get_permalink('46')) ?>" title="<?php echo chechTitle(get_permalink('46')) ?> La soluzione Lines Perla">La soluzione Lines Perla</a></li>
                            <li class="<?php echo classe(get_permalink('48')) ?>"><a href="<?php echo get_indirizzo(get_permalink('48')) ?>" title="<?php echo chechTitle(get_permalink('48')) ?> Informazioni Utili">Informazioni Utili</a></li>
                            <?php if(is_user_logged_in()){ ?>
                            <li class="<?php echo classe(get_permalink('50')) ?>"><a href="<?php echo get_indirizzo(get_permalink('50')) ?>" title="<?php echo chechTitle(get_permalink('50')) ?> Professionisti">Professionisti</a></li>
                            <?php }else { ?>
                             <li class="<?php echo classe(get_permalink('90')) ?>"><a href="<?php echo get_indirizzo(get_permalink('90')) ?>" title="<?php echo chechTitle(get_permalink('90')) ?> Professionisti">Professionisti</a></li>
                            <?php } ?>
                        </ul>
                    </div>
                <?php } else { ?>
                    <h1 class="hidden">Lines Perla</h1>
                    <h2 class="hidden">Home Page</h2>
                    <div id="container">
                        <div id="barra">
                            <ul>
                                <li><a class="barra_domande" href="<?php echo get_indirizzo(get_permalink('11')) ?>" title="<?php echo chechTitle(get_permalink('11')) ?> Domande e Risposte">Domande e Risposte</a></li>
                                <li><a class="barra_chisiamo" href="<?php echo get_indirizzo(get_permalink('33')) ?>" title="<?php echo chechTitle(get_permalink('33')) ?> Chi Siamo">Chi siamo</a></li>
                                <li><a class="barra_contatti" href="<?php echo get_indirizzo(get_permalink('40')) ?>" title="<?php echo chechTitle(get_permalink('40')) ?> Contatti">Contatti</a></li>
                                <?php
                                $url = get_bloginfo('url') . '/';

                                if (is_page('Home')):

                                    echo '<li class="attivo"><a class="barra_homepage" href="#" title="Sei nella Home page">Home</a></li>';

                                else: echo '<li><a class="barra_homepage" href="' . $url . '" title="Vai alla Home page">Home</a></li>';

                                endif;
                                ?>
                            </ul>
                            <?php if(is_user_logged_in()) {
                                global $user_ID; $loggato = get_userdata( $user_ID );
                                ?>
                            
                            <div id="utente-loggato">
                                <div id="user">
                                    <div>Ciao:  <?php echo $loggato->display_name; ?> </div>
                                </div>
                                <div id="esci">
                                   <?php echo '<a href="'. wp_logout_url( get_permalink() ).'/wp-login.php?action=logout" title="Esci da questo account">Esci</a>'; ?> 
                                </div>
                            </div>
                            <?php } ?>
                        </div>
                        <div id="pagina-index">
                            <div id="home-logo"><a href="#"><img src="<?php bloginfo('template_url') ?>/img/logo_home.png" alt="LINES PERLA" width="227" height="228"/></a></div>
                            <h2 id="home-claim">Risolve meglio il problema dell'odore</h2>
                            <div id="home-incontinenza-urinaria">
                                <h3><a href="<?php echo get_permalink('37') ?>" title="Vai alla pagina 'Incontinenza Urinaria' ">Incontinenza urinaria</a></h3>
                                <ul>
                                    <li><a href="<?php echo get_permalink('37') ?>#checosae">Che cos'&egrave;?</a></li>
                                    <li><a href="<?php echo get_permalink('37') ?>#cause">Cause più comuni</a></li>
                                    <li><a href="<?php echo get_permalink('37') ?>#specialista">Lo specialista racconta </a></li>
                                    <li><a href="<?php echo get_permalink('37') ?>#protezione">Protezione specifica</a></li>
                                    <li><a href="<?php echo get_permalink('37') ?>#trova">Trova il prodotto adatto a te</a></li>
                                </ul>

                            </div>
                            <div id="home-la-soluzione">
                                <h3><a href="<?php echo get_permalink('46') ?>" title="Vai alla pagina 'La Soluzione Lines Perla' ">La Soluzione Lines Perla </a></h3>
                                <ul>
                                    <li><a href="<?php echo get_permalink('46') ?>#ricerca">La ricerca Lines Perla</a></li>
                                    <li><a href="<?php echo get_permalink('46') ?>#prodottiSpec">Prodotti specifici per l’urina</a></li>
                                    <li><a href="<?php echo get_permalink('46') ?>#bisogni">I bisogni delle donne </a></li>
                                    <li><a href="<?php echo get_permalink('46') ?>#tecnologia">Tecnologia esclusiva</a></li>
                                    <li><a href="<?php echo get_permalink('46') ?>#prodotti">I prodotti Lines Perla</a></li>
                                    <li><a href="<?php echo get_permalink('46') ?>#trova">Trova il prodotto adatto a te</a></li>
                                </ul>

                            </div>
                            <div id="home-info-utili">
                                <h3><a href="<?php echo get_permalink('48') ?>" title="Vai alla pagina 'Informazioni Utili'">Informazioni Utili </a></h3>
                                <ul>
                                    <li><a href="<?php echo get_permalink('48') ?>#gravidanza">Gravidanza e neomamme</a></li>
                                    <li><a href="<?php echo get_permalink('48') ?>#menopausa">Menopausa</a></li>
                                    <li><a href="<?php echo get_permalink('48') ?>#consigli">Alcuni consigli utili </a></li>
                                    <li><a href="<?php echo get_permalink('48') ?>#conchi">Con chi parlarne</a></li>
                                </ul>

                            </div>
                            <div id="home-professionisti">
                                <?php if(is_user_logged_in()) { ?>
                                <h3><a href="<?php echo get_permalink('50') ?>" title="Vai alla pagina 'Professionisti'">Professionisti</a></h3>
                                <?php } else { ?>
                                <h3><a href="<?php echo get_permalink('90') ?>" title="Registrati su Lines Perla" >Professionisti</a></h3>
                                <?php } ?>
                                <h4>Area riservata a medici e professionisti del settore</h4>
                                <strong> Qui troverai:</strong>
                                <ul>
                                    <li><span>&bull; Effetti sulla vita della donna</span></li>
                                    <li><span>&bull; Consigli utili</span> </li>
                                    <li><span>&bull; Prodotti specifici per l’urina</span></li>
                                    <li><span>&bull; Tecnologia e gamma Lines Perla</span></li>
                                    <li><span>&bull; Articoli scientifici</span></li>
                                    <li><span>&bull; Congressi</span></li>
                                    <li><span>&bull; Ulteriori informazioni</span></li>
                                </ul>
                                <div class="home-professionisti-clickopen"></div>
                            </div>
                            <div id="home-professionisti-login" >
                                <?php include 'login.php'; ?>
                            </div>

                            <script type="text/javascript">
                                $(document).ready(function(){
                                    $('#home-professionisti-login').hide();
                                    var cliccato=false;
                                    var dentro;
                                    $('#home-professionisti').click(function(){ 
                                        cliccato=true; 
                                        gestisci();
                                    });
                                    function gestisci(){
                                        if(cliccato == true && dentro != 1){
                                            $("html, body").animate({
                                              scrollTop:340
                                            },500);
                                            $('#home-professionisti-login').fadeIn("slow"); 
                                            $('#home-professionisti').addClass("boxAperto");
                                            dentro = 1;
                                        }else{
                                            $('#home-professionisti').removeClass("boxAperto");
                                            $('#home-professionisti-login').hide("slow");
                                            dentro = 0;
                                        }  
                                    };
                                });
                            </script>
                        </div>
                    <?php } ?>
                    <p class="skipnav"><a href="#contenuti" title="Vai direttamente ai contenuti" accesskey="c">Vai ai contenuti</a></p>